//
//  main.c
//  Chater2
//
//  Created by 郭家正 on 2018/12/6.
//  Copyright © 2018 abc. All rights reserved.
//
#define Price 15
//#define ApplePrice 30

#define RealApplePrice 30.5

#include <stdio.h>

int main(int argc, const char * argv[]) {
    // insert code here...
//    int a123_ = 3;
//    a123_ = 4;
//    int sum = a123_ * Price;
//    printf("a * price = %d\n",sum);
    
    
//    int count ; //代表多少斤
//    printf("请输入购买的苹果斤数\n");
//    scanf("%d",&count);
//    
//    int price ;//代表总价格
//    price = count * ApplePrice;
//    printf("您一共购买 %d 斤苹果,每斤苹果 %d 元，合计 %d 元\n",count,ApplePrice,price );
    
    
//    float count ; //代表多少斤
//    printf("请输入购买的苹果斤数\n");
//    scanf("%f",&count);
//
//    float price ;//代表总价格
//    price = count * RealApplePrice;
//    printf("您一共购买 %f 斤苹果,每斤苹果 %f 元，合计 %f 元\n",count,RealApplePrice,price );

    
    int a ;
    a = 10;
    int b ;
    b = 15;
    
    int c ,d;
    int e = 10,f = 15;
    
    int sum;
    sum = a+ b +c +d;
//    short 2个字节 8位
//    int  4个字节
//    long 8个字节
    return 0;
}
